<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>PINF</title>
<link href="../style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="wrapper">
	<div id="encab">
		<div id="logo">
			<h1><a href="#">PINF </a></h1>
			<p>por **</p>
		</div>
		<div id="busq">
			<form method="get" action="">
				<fieldset>
		            <input type="text" name="s" id="busq-texto" size="15" value="introduzca datos a buscar..." />
					<input type="submit" id="busq-enviar" value="GO" />
				</fieldset>
			</form>
		</div>
	</div>
	<!-- fin #encab -->
	<div id="pag">
		<div id="pag-bgarriba">
			<div id="pag-bgabajo">
				<div id="menu">
					<ul>
						<li><a href="#">Inicio</a></li>
						<li class="current_page_item"><a href="perfil.html">Perfil</a></li>
						<li><a href="#">Amigos</a></li>
						<li><a href="#">Fotos</a></li>
						<li><a href="#">Eventos</a></li>
						<li><a href="#">Buscar</a></li>
					</ul>
				</div>
				<!-- fin #menu -->
				<div id="contenido">
					<div class="post">
						<h2 class="title"><a href="#">Ver abusos </a></h2>
							<?php
                                                                include_once($_SESSION['dir'].'/Abuso/abuso.php');
                                                                $abuso = new abuso();
								$arr = $abuso->conseguirAbusos();
								$cant = count($arr);                                                               
							?>							

							<table border="1" cellpadding="0" cellspacing="0" bordercolor="#111111" width="160%">

							<tr>

							<td width="34%" bgcolor="#66CD00" height="21">

							<p style="margin-left: 10"><b><font size="2" face="Verdana" color="#FFFFFF">

							Nombre del<br> denunciante</font></b></td>

							<td width="33%" bgcolor="#66CD00" height="21">

							<p style="margin-left: 10"><b><font face="Verdana" size="2" color="#FFFFFF">

							ID del Denunciante</font></b></td>
							

							<td width="33%" bgcolor="#66CD00" height="21">

							<p style="margin-left: 10"><b><font face="Verdana" size="2" color="#FFFFFF">

							Fecha de la denuncia &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</font></b></td>
							
							<td width="33%" bgcolor="#66CD00" height="21">

							<p style="margin-left: 10"><b><font face="Verdana" size="2" color="#FFFFFF">

							Tipo&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</font></b></td>
							
							<td width="33%" bgcolor="#66CD00" height="21">

							<p style="margin-left: 10"><b><font face="Verdana" size="2" color="#FFFFFF">
                                                                
                                                        Estado&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</font></b></td>
							
							<td width="33%" bgcolor="#66CD00" height="21">

							<p style="margin-left: 10"><b><font face="Verdana" size="2" color="#FFFFFF">

							Ver Detalles&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</font></b></td>

							</tr> 

							<?php
							for($i = 0; $i < $cant; $i= $i+8)
							{

							?>

							<tr>

							<td width="34%" bgcolor="#FFDCA8" height="21">

							<p style="margin-left: 10; margin-right: 10">

							<font face="Verdana" size="1">

							<?php echo $arr[$i+1]; ?>

							</font>

							</td>

							<td width="34%" bgcolor="#FFDCA8" height="21">

							<p style="margin-left: 10; margin-right: 10">

							<font face="Verdana" size="1">

							<?php echo $arr[$i+2]; ?>

							</font>

							</td>

							<td width="34%" bgcolor="#FFDCA8" height="21">

							<p style="margin-left: 10; margin-right: 10">

							<font face="Verdana" size="1">

							<?php echo $arr[$i+3]; ?>

							</font>

							</td>

							<td width="34%" bgcolor="#FFDCA8" height="21">

							<p style="margin-left: 10; margin-right: 10">

							<font face="Verdana" size="1">

							<?php echo $arr[$i+5]; ?>

							</font>

							</td>
                                                        
                                                        <td width="34%" bgcolor="#FFDCA8" height="21">

							<p style="margin-left: 10; margin-right: 10">

							<font face="Verdana" size="1">

							<?php echo $arr[$i+7]; ?>

							</font>

							</td>
							
							<td width="33%" bgcolor="#FFDCA8" height="21">

							<p style="margin-left: 10"><font face="Verdana" size="1">

							<a href="consultarAbusos.php?id=<?php echo $arr[$i]; ?>">

							Presiona aqu&iacute

							</a></font>

							</td>
							
							</tr>

							<?php
							}

							echo "</table>";
							
							?>
					</div>
					
					<div style="clear: both;">&nbsp;</div>
				</div>
				<div style="clear: both;">&nbsp;</div>
			</div>
		</div>
	</div>
	<!-- fin #pagina -->
</div>
<div id="pie-wrapper">
<div id="pie-wrapper">
	<div id="pie">
		<p><a href="#">Inicio&nbsp;&nbsp;&nbsp;</a>
		<a href="http://www.usb.ve/">USB&nbsp;&nbsp;&nbsp;</a>
		<a href="http://www.dace.usb.ve/">DACE&nbsp;&nbsp;&nbsp;</a>
		<a href="http://www.generales.usb.ve/">Estudios Generales&nbsp;&nbsp;&nbsp;</a>
		<a href="http://asignaturas.usb.ve/">Aula Virtual&nbsp;&nbsp;&nbsp;</a>
		<a href="desactivar.php">Desactivar Cuenta&nbsp;&nbsp;&nbsp;</a>
		<a href="#">Salir</a><br><br>
		
	</div>
</div>
</div>
<!-- fin #pie -->
</body>
</html>
